﻿using HR.Config;
using HR.Models;

namespace HR.IService
{
    public interface IUsersService
    {
        Task<user?> LoginUrs(user us);

        Task<List<MenuRole>> HomeMenusFill(int rid);

        Task<Paging<UserDapper>> RoleFillUsers(int pgsize, int pgcurrent);
        Task<int> RoleInsertUsers(user ur);
        Task<int> RoleUpdateUsers(user ur);
        Task<int> RoleDeleteUsers(short uid);

    }
}
